<div class="row">
    <div
        class="col-xs-12 col-sm-6 {$maxLevel == 2 ? 'col-md-6' : 'col-md-12'} {$maxLevel == 2 ? 'col-lg-6' : 'col-lg-12'}">
        <div class="panel panel-default panel-intro">
            <div class="panel-heading">
                <div class="panel-lead">
                    <em>通用系数</em>
                </div>
                {:build_heading(null,FALSE)}
                <ul class="nav nav-tabs qweasd1" data-field="category">
                    <li class="active"><a href="#t-all" data-value="" data-toggle="tab">{:__('All')}</a></li>
                    {foreach name="typedata" item="vo"}
                    <li><a href="#t-{$key}" data-value="{$key}" data-toggle="tab">{$vo}</a></li>
                    {/foreach}
                </ul>
            </div>
            <div class="panel-body">
                <div id="myTabContent1" class="tab-content">
                    <div class="tab-pane fade active in" id="one">
                        <div class="widget-body no-padding">
                            <div id="toolbar1" class="toolbar1">
                                <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}"><i
                                        class="fa fa-refresh"></i> </a>
                                <a href="javascript:;"
                                    class="btn btn-success btn-add {:$auth->check('carbon/coefficient/info/add')?'':'hide'}"
                                    title="{:__('Add')}"><i class="fa fa-plus"></i> {:__('Add')}</a>
                                <a href="javascript:;"
                                    class="btn btn-success btn-edit btn-disabled disabled {:$auth->check('carbon/coefficient/info/edit')?'':'hide'}"
                                    title="{:__('Edit')}"><i class="fa fa-pencil"></i> {:__('Edit')}</a>
                                <a href="javascript:;"
                                    class="btn btn-danger btn-del btn-disabled disabled {:$auth->check('carbon/coefficient/info/del')?'':'hide'}"
                                    title="{:__('Delete')}"><i class="fa fa-trash"></i> {:__('Delete')}</a>
                            </div>
                            <table id="table1" class="table1 table-striped table-bordered table-hover table-nowrap"
                                data-operate-edit="{:$auth->check('carbon/coefficient/info/edit')}"
                                data-operate-del="{:$auth->check('carbon/coefficient/info/del')}" width="100%">
                            </table>
                        </div>
                    </div>

                </div>
            </div>
        </div>
    </div>
    {if $maxLevel==2}
    <div class="col-xs-12 col-sm-6 col-md-6 col-lg-6">
        <div class="panel panel-default panel-intro">
            <div class="panel-heading">
                <div class="panel-lead">
                    <em>省份系数</em>
                </div>
                {:build_heading(null,FALSE)}
                <ul class="nav nav-tabs" data-field="category">
                    <li class="dropdown filter-type">
                        <a href="javascript:" class="dropdown-toggle" data-toggle="dropdown"><i
                                class="fa fa-filter"></i>{:__('省份')}</a>
                        <ul class="dropdown-menu text-left" role="menu">
                            <li class="active"><a href="javascript:" data-value="">{:__('All')}</a></li>
                            {foreach name="provinceList" id="item"}
                            <li><a href="javascript:" data-value="{$key}">{$item}</a></li>
                            {/foreach}
                        </ul>
                    </li>
                </ul>
            </div>
            <div class="panel-body">
                <div id="myTabContent2" class="tab-content">
                    <div class="tab-pane fade active in" id="one">
                        <div class="widget-body no-padding">
                            <div id="toolbar2" class="toolbar">
                                <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}"><i
                                        class="fa fa-refresh"></i> </a>
                            </div>
                            <table id="table2" class="table table-striped table-bordered table-hover table-nowrap"
                                data-operate-edit="{:$auth->check('carbon/coefficient/type/edit')}"
                                data-operate-del="{:$auth->check('carbon/coefficient/type/del')}" width="100%">
                            </table>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    {/if}
</div>